package org.eerbaar.parser.core.def.impl;

import java.util.Arrays;

import org.eerbaar.parser.core.def.NonTerminal;
import org.eerbaar.parser.core.def.NonTerminalProduction;
import org.eerbaar.parser.core.def.Symbol;

public class DefaultNonTerminalProduction
        extends DefaultProduction implements NonTerminalProduction {

    public DefaultNonTerminalProduction(NonTerminal lhs, Symbol[] rhs) {
        super();
        this.lhs = lhs;
        this.rhs = Arrays.asList(rhs);
    }
}
